
<?php if (validation_errors()) : ?>
<div class="notification error">
	<?php echo validation_errors(); ?>
</div>
<?php endif; ?>
<?php // Change the css classes to suit your needs    
if( isset($matchbet) ) {
	$matchbet = (array)$matchbet;
}
$id = isset($matchbet['match_bet_id']) ? "/".$matchbet['match_bet_id'] : '';
?>
<?php echo form_open($this->uri->uri_string(), 'class="constrained ajax-form"'); ?>
<?php if(isset($matchbet['match_bet_id'])): ?><input id="match_bet_id" type="hidden" name="match_bet_id" value="<?php echo $matchbet['match_bet_id'];?>"  /><?php endif;?>
<div>
        <?php echo form_label('Match Odds Id', 'match_odds_id'); ?>
        <input id="match_odds_id" type="text" name="match_odds_id" maxlength="10" value="<?php echo set_value('match_odds_id', isset($matchbet['match_odds_id']) ? $matchbet['match_odds_id'] : ''); ?>"  />
</div>

<div>
        <?php echo form_label('Amount', 'amount'); ?>
        <input id="amount" type="text" name="amount" maxlength="10" value="<?php echo set_value('amount', isset($matchbet['amount']) ? $matchbet['amount'] : ''); ?>"  />
</div>

<div>
        <?php echo form_label('Won', 'won'); ?>
        <input id="won" type="text" name="won" maxlength="10" value="<?php echo set_value('won', isset($matchbet['won']) ? $matchbet['won'] : ''); ?>"  />
</div>

<div>
        <?php echo form_label('Users Id', 'users_id'); ?>
        <input id="users_id" type="text" name="users_id" maxlength="10" value="<?php echo set_value('users_id', isset($matchbet['users_id']) ? $matchbet['users_id'] : ''); ?>"  />
</div>



	<div class="text-right">
		<br/>
		<input type="submit" name="submit" value="Create matchbet" /> or <?php echo anchor(SITE_AREA .'/developer/matchbet', lang('matchbet_cancel')); ?>
	</div>
	<?php echo form_close(); ?>
